package cn.iocoder.yudao.module.testequipmentuse.controller.admin.testequipmentuse.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 参试设备使用记录表分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
public class TestEquipmentUsePageReqVO extends PageParam {

    @Schema(description = "参试设备ID", example = "123")
    private Long eqId;

    @Schema(description = "操作类型", example = "1")
    private Integer operationType;

    @Schema(description = "操作时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] operationTime;

    // 新增：设备名称查询条件
    @Schema(description = "设备名称")
    private String eqName;

    // 新增：设备型号查询条件
    @Schema(description = "设备型号")
    private String model;

}
